package com.aidong.stadium.entity;

import java.io.Serializable;
import java.text.DecimalFormat;

import com.aidong.util.ReadPropertiesUtil;

public class StoreCourse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3853717963924662958L;
	
	private String courseChName;
	private String courseEnName;
	private String gpPic;
	private Double price;
	private String startTime;
	private String endTime;
	private int allowPerson;
	private int courseID;
	private int autoId;
	private String address;
	private int cou;
	public String getCourseChName() {
		return courseChName;
	}
	public void setCourseChName(String courseChName) {
		this.courseChName = courseChName;
	}
	public String getCourseEnName() {
		return courseEnName;
	}
	public void setCourseEnName(String courseEnName) {
		this.courseEnName = courseEnName;
	}
	public String getGpPic() {
		return ReadPropertiesUtil.getIMGREAD(gpPic);
	}
	public void setGpPic(String gpPic) {
		this.gpPic = gpPic;
	}
	public String getPrice() {
		if(price==0){
			return "0";
		}
		return  new DecimalFormat("#0.00").format(price);
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public int getAllowPerson() {
		return allowPerson;
	}
	public void setAllowPerson(int allowPerson) {
		this.allowPerson = allowPerson;
	}
	public int getCourseID() {
		return courseID;
	}
	public void setCourseID(int courseID) {
		this.courseID = courseID;
	}
	public int getAutoId() {
		return autoId;
	}
	public void setAutoId(int autoId) {
		this.autoId = autoId;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getCou() {
		return cou;
	}
	public void setCou(int cou) {
		this.cou = cou;
	}
	
}
